﻿@model PrestamoVista
@{
    ViewBag.Title = "Equipamientos";
    ViewBag.SubMenuSelected = "Prestamos";
    Layout = "~/Views/Shared/_MasterSGC.cshtml";
}
@section Scripts{
    @Content.Script("CbaGob.Alumnos.Prestamo.js", Url)
}
<div class="box">
    <h2>
        Eliminar Préstamo</h2>
    <table align="center" style="width: 700px;">
        <tr>
            <td class="style1" style="font-weight: bold">
                <div id="titulo">
                </div>
                @using (Html.BeginForm("Eliminar_Prestamo", "Prestamos", FormMethod.Post, new { Id = "FormularioPrestamos" }))
                { 
                    <fieldset style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; width: 700px;">
                        <legend>Datos del Prestamo:</legend>
                        <table align="center" style="font-family: Arial, Helvetica, sans-serif; font-size: 12px;
                            width: 700px;">
                            <tr>
                                <td>
                                    <table align="left" style="font-family: Arial, Helvetica, sans-serif; font-size: 12px;
                                        width: 700px;">
                                        <tr>
                                            <td align="left">
                                                Nombre del Equipo:
                                            </td>
                                            <td align="left">
                                                @Html.TextBoxFor(c => c.NombreEquipo, new { disabled = "disabled", style = "width:150px;", MaxLength = "50" })
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="left">
                                                Nombre Institución:
                                            </td>
                                            <td align="left">
                                                @Html.TextBoxFor(c => c.NombreInstitucion, new { disabled = "disabled", style = "width:150px;", MaxLength = "50" })
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="left">
                                                Fecha Inicio:
                                            </td>
                                            <td align="left">
                                                @Html.TextBoxFor(c => c.Fec_Inicio, new {disabled = "disabled", Id = "fecini", style = "width:73px;", MaxLength = "50" })
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="left">
                                                Fecha Fin:
                                            </td>
                                            <td align="left">
                                                @Html.TextBoxFor(c => c.Fec_Fin, new {disabled = "disabled", Id = "fecfin", style = "width:73px;", MaxLength = "50" })
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="left">
                                                Observación:
                                            </td>
                                            <td align="left">
                                                @Html.TextAreaFor(c => c.Observaciones, new {disabled = "disabled", Id = "fecSup", style = "width:350px;height:50px;", MaxLength = "50" })
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </fieldset>
                    @Html.HiddenFor(c => c.Id_Institucion);
                    @Html.HiddenFor(c => c.Id_Equipo);
                    @Html.HiddenFor(c => c.Id_Prestamo);
                  
                    <table id="btnfin" align="center" width="700px">
                        <tr>
                            <td align="right" valign="middle">
                                <input id="Eliminar" type="button" value="Eliminar" class="btnIngresar" />&nbsp;&nbsp;
                                @Html.ActionLink("Cancelar", "Index", "Prestamos", null, new { Class = "btnIngresar" })
                            </td>
                        </tr>
                    </table>
   
                }
            </td>
        </tr>
    </table>
</div>
<div id="dialog" title="Eliminar">
    <p>
        Está Seguro de Eliminar?</p>
</div>
